package com.bwie.controller;

import com.bwie.service.TbProdInfoService;
import com.bwie.utils.Result;
import com.bwie.vo.PageInfoVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description :
 * @Author QiHainan
 * @Create 2025/5/30 11:02
 * @Version 1.0
 */
@RestController
@RequestMapping("/prod/prodInfo")
public class ProdInfoController {
    @Autowired
    TbProdInfoService tbProdInfoService;

    /**
     * 获取商品明细分页列表
     * @param pageInfoVo
     * @return
     */
    @PostMapping("/getProdInfoPage")
    public Result getProdInfoPage(@RequestBody PageInfoVo pageInfoVo){
        return tbProdInfoService.getProdInfoPage(pageInfoVo);
    }
}
